package com.xmlt.core.template.tags;

public class BaseTemplateSectionElementVisitor implements ITemplateSectionElementVisitor {

	@Override
	public void visit(TemplateSectionElement tsElement) {
		if (tsElement instanceof IfTag) {
			visit((IfTag) tsElement);
		} else if (tsElement instanceof LoopTag) {
			visit((LoopTag) tsElement);
		} else if (tsElement instanceof OutputTag) {
			visit((OutputTag) tsElement);
		} else if (tsElement instanceof TextTag) {
			visit((TextTag) tsElement);
		}
	}

	@Override
	public void visit(IfTag ifTag) {
	}

	@Override
	public void visit(LoopTag loopTag) {
	}

	@Override
	public void visit(OutputTag outputTag) {
	}

	@Override
	public void visit(TextTag textTag) {
	}

}
